package com.example.mapper;

import com.example.common.ServiceResponse;
import com.example.pojo.Manager;
import com.example.pojo.Percentage;
import com.example.pojo.User;
import com.example.pojo.UserInfo;
import com.example.vo.SearchUserVO;
import com.example.vo.UserAllVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;


public interface UserMapper {
    int deleteByPrimaryKey(String userId);

    int insert(User record);

    int insertSelective(User record);

    User selectByPrimaryKey(String userId);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKeyWithBLOBs(User record);

    int updateByPrimaryKey(User record);

    List<UserAllVO> getUserAll();

    List<UserAllVO> searchUser(SearchUserVO searchUserVO);

    Percentage getPercentage();

    Integer updatePercentage(Percentage percentage);

    List<User> showUserInfo();


}